/**
 * Name: 主样式表
 * Author: zhangjunfa
 * Email: zhangjunfa@gmail.com
 * Time: 2012-05-17 09:37 AM
 * Version: 1.0
 */

html {
	overflow: auto;
	height: 100%;
}
body {
	background-color: #F2EADF;
	font-family: 'Arial', '宋体';
	font-size: 12px;
	line-height: 18px;
	color: #6E4C33;
	height: 100%;
}
a, a:hover {
	text-decoration: none;
}
input {
	vertical-align: middle;
}
textarea {
	resize: none;
	overflow-x: hidden;
	overflow-y: auto;
}
#container {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 100%;
}
h1, h2, .yh {
	font-family: '微软雅黑';
	font-weight: normal;
}
table th {
	font-weight: normal;
}
.left {
	float: left;
}
.right {
	float: right;
}
.clear {
	clear: both;
}
.alignleft {
	text-align: left;
}
.alignright {
	text-align: right;
}
.aligncenter {
	text-align: center;
}
.v-aligntop {
	vertical-align: top;
}
.v-alignmiddle {
	vertical-align: middle;
}
.v-alignbottom {
	vertical-align: bottom;
}
.z10 {
	z-index: 10;
}
.hide {
	visibility: hidden;
}
.red {
	color: red;
}

/* 公共左边栏 */
#asideback {
	background: #704B38 url(../images/public/aside_bg.jpg) top right repeat-y;
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	width: 158px;
}
#asideswitch {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 145px;
	width: 13px;
	cursor: pointer;
	z-index: 11;
}
	#asideswitch .button {
		background: url(../images/public/off.jpg) no-repeat;
		position: absolute;
		top: 50%;
		left: 0px;
		margin-top: -6px;
		width: 8px;
		height: 13px;
	}
	#asideswitch .on {
		background-image: url(../images/public/on.jpg);
	}
aside#main {
	position: relative;
	width: 158px;
	float: left;
	z-index: 10;
}
	aside#main header.logo {
		background: url(../images/public/header_logo_bg.jpg) repeat-x;
		padding: 29px 0 0 13px;
		width: 130px;
		height: 72px;
	}
	aside#main nav {
		width: 143px;
	}
		aside#main nav ul {
			width: 100%;
		}
		aside#main nav ul li {
			background: url(../images/public/nav_li_bg.jpg) left bottom no-repeat;
			width: 100%;
			min-height: 29px;
			height: auto;
		}
			aside#main nav ul li ul {
				background: url(../images/public/nav_li_bg.jpg) left top no-repeat;
				padding-top: 2px;
			}
			aside#main nav ul li ul li a {
				text-indent: 60px;
			}
		aside#main nav ul li a {
			width: 100%;
			height: 27px;
			line-height: 27px;
			text-indent: 36px;
			display: block;
			color: #FFFFFF;
		}
		aside#main nav ul li a:hover, aside#main nav ul li a.current {
			background-color: #5A3A2B;
		}
			aside#main nav ul li a img {
				margin-right: 8px;
			}

/* 公共部分 */
#rightbody {
	margin-left: -158px;
	float: left;
	width: 100%;
	padding-bottom: 50px;
}
section#wrapper {
	position: relative;
	margin-right: 26px;
	margin-left: 184px;
}
	section#wrapper header {
		font-size: 14px;
		text-align: right;
		color: #704B39;
		padding-top: 30px;
		padding-bottom: 10px;
	}
	section#wrapper header a {
		padding: 0 10px;
		color: #704B39;
	}
footer#bottom {
	position: absolute;
	left: 184px;
	bottom: 10px;
}
	footer#bottom a {
		padding: 0 10px;
		color: #6E4C33;
	}
	footer#bottom span {
		padding-left: 20px;
	}

/* 首页 */
table.index1 {
	width: 100%;
}
table.index1 th, table.index1 td {
	border: 1px #DDC59F solid;
	padding-left: 18px;
}
table.index1 th {
	background-color: #FAF1EA;
	height: 37px;
	text-align: left;
	vertical-align: middle;
}
	table.index1 th a {
		color: red;
	}
table.index1 td {
	background-color: #F8EEE4;
	padding: 18px;
}
	table.index1 td span.red {
		color: red;
		padding: 0 3px;
	}
	table.index1 dl {
		margin-bottom: 5px;
	}
	table.index1 td dl dt {
		display: inline;
	}
	table.index1 td dl dt.hack1 {
		*padding-left: 10px;
	}
	table.index1 td dl dd {
		display: inline;
	}
	table.index1 td dl dt {
		line-height: 22px;
	}
	table.index1 td dl dd {
		margin-right: 10px;
	}
		table.index1 td dl dd input.normal {
			background: url(../images/public/input_bg.jpg) no-repeat;
			width: 112px;
			height: 18px;
			border: 0;
			padding: 2px;
		}
		table.index1 td dl dd input.s {
			background: url(../images/public/login_button.jpg) no-repeat;
			width: 66px;
			height: 28px;
			cursor: pointer;
			border: 0;
		}
		table.index1 td dl dd img {
			vertical-align: middle;
		}
		table.index1 td dl dd a.forget {
			line-height: 28px;
			color: #B8866B;
		}
	table.index1 td dl.last {
		margin: 0;
	}
		table.index1 td dl.last dt {
			line-height: 18px;
			font-size: 12px;
		}
		table.index1 td dl dd label input {
			vertical-align: top;
		}
	table.index1 td p.first {
		margin-bottom: 16px;
	}
		table.index1 td p.first img {
			vertical-align: text-top;
			margin-left: 10px;
		}
table.h {
	background: url(../images/public/table_h_bg.jpg) repeat-x;
	height: 43px;
	width: 100%;
	font-size: 16px;
	color: #FFFFFF;
	vertical-align: middle;
	line-height: 43px;
}
	table.h th img {
		vertical-align: middle;
		margin-right: 10px;
	}
	table.h th {
		text-align: left;
	}
table.index2-h {
	margin-top: 30px;
}
	table.index2-h th {
		padding-left: 27px;
	}
table.index2 {
	background-color: #FFFFFF;
	width: 100%;
	border: 1px #DDC59F solid;
	border-top: 0;
}
	table.index2 td {
		padding: 30px 55px;
	}
		table.index2 td ul {
			border-top: 1px #E9E2D2 dashed;
		}
		table.index2 td ul li {
			border-bottom: 1px #E9E2D2 dashed;
			padding: 7px 0;
		}
			table.index2 td ul li a.forum {
				color: #956946;
				padding-right: 8px;
			}
			table.index2 td ul li a.title {
				color: #704B38;
			}
table.index3-h {
	margin-top: 10px;
}
table.index3-h th {
	padding-left: 15px;
	padding-right: 24px;
}
table.index3 {
	width: 100%;
	border: 1px #DDC59F solid;
	border-top: 0;
}
	table.index3 td {
		background-color: #FFFFFF;
		border-bottom: 1px #DDC59F solid;
		padding: 25px 0;
		padding-left: 20px;
	}
	table.index3 td a {
		color: #714834;
	}
	table.index3 td.area {
		font-size: 14px;
		padding-left: 50px;
		border-right: 1px #DDC59F solid;
	}
	table.index3 tr.even td {
		background-color: #F8F3ED;
	}
	table.index3 td.last {
		text-align: right;
		padding-right: 24px;
	}
		table.index3 td.last span {
			padding: 0 5px;
		}

/* 专区 */
table.area1 {
	width: 100%;
	border: 1px #DDC59F solid;
}
table.area1 th {
	background-color: #FAF1EA;
	height: 30px;
	text-align: left;
	padding: 0 16px;
	vertical-align: middle;
}
table.area1 th span {
	padding-left: 20px;
}
table.area1 th a {
	color: #734939;
}
table.area1 td {
	background-color: #FFFFFF;
	border-top: 1px #DDC59F solid;
	padding: 24px 20px;
}
table.area2-top {
	margin-top: 30px;
	width: 100%;
}
	table.area2-top td {
		vertical-align: middle;
		font-size: 14px;
	}
	table.area2-top td img {
		vertical-align: middle;
	}
	table.area2-top span {
		padding-right: 10px;
	}
	table.area2-top input.normal {
		background-color: #FFFFFF;
		width: 135px;
		height: 18px;
		padding: 2px;
		border: 0;
	}
	table.area2-top input.s {
		background: url(../images/public/search.jpg) no-repeat;
		width: 26px;
		height: 22px;
		cursor: pointer;
		border: 0;
	}
table.area2-bottom {
	width: 100%;
}
	table.area2-bottom td {
		vertical-align: middle;
	}
table.area2-h {
	margin-top: 10px;
}
table.area2-h th {
	text-align: center;
}
table.area2 {
	margin-bottom: 10px;
	width: 100%;
	border: 1px #DDC59F solid;
	border-top: 0;
}
table.area2 td {
	border-bottom: 1px #DDC59F solid;
	border-right: 1px #DDC59F solid;
	text-align: center;
	vertical-align: middle;
	padding: 10px 0;
	background-color: #FFFFFF;
}
table.area2 td.title {
	padding-left: 20px;
	text-align: left;
}
	table.area2 td a {
		color: #6E4C33;
	}
table.area2 tr.even td {
	background-color: #F8F3ED;
}
table.area3-h {
	margin-top: 30px;
}
table.area3-h th {
	padding-left: 20px;
}
table.area3 {
	width: 100%;
	border: 1px #DDC59F solid;
	border-top: 0;
}
table.area3 td {
	background-color: #F8F3ED;
	padding: 15px 0;
	text-align: center;
	vertical-align: middle;
}
table.area3 td a {
	color: #000000;
	font-size: 14px;
}
table.area3 td img {
	margin-right: 10px;
	vertical-align: middle;
}

/* 帖子 */
table.post1 {
	margin-top: 10px;
	width: 100%;
}
table.post1 thead th {
	background-color: #946644;
	height: 39px;
	color: #FFFFFF;
	text-align: center;
	vertical-align: middle;
	text-align: left;
	padding-left: 20px;
	font-size: 14px;
	border-left: 1px #946644 solid;
}
table.post1 thead th span {
	font-size: 12px;
}
table.post1 tbody td, table.post1 tbody th {
	background-color: #FFFFFF;
	border: 1px #DEC49F solid;
	border-top: 0;
}
table.post1 tbody th {
	padding: 30px 25px 0px;
	border-bottom: 0;
}
	table.post1 tbody th .user {
		border-top: 1px #ECDBC7 solid;
		border-bottom: 1px #ECDBC7 solid;
	}
	table.post1 tbody th .user  a {
		color: #8E6844;
	}
		table.post1 tbody th .user p.avatar {
			padding: 20px 0;
		}
		table.post1 tbody th .user p.info {
			border-top: 1px #ECDBC7 solid;
			height: 35px;
			line-height: 35px;
		}
			table.post1 tbody th .user p.info img {
				vertical-align: middle;
				margin-right: 5px;
			}
table.post1 tbody td {
	vertical-align: top;
}
	table.post1 tbody td {
		padding: 35px 25px;
		padding-bottom: 0;
	}
		table.post1 tbody td p {
			margin-bottom: 25px;
		}
		table.post1 tbody td p img {
			display: block;
			margin-top: 5px;
		}
table.post1 tbody tr.reply td {
	height: 35px;
	line-height: 35px;
	text-align: right;
	padding: 0;
	padding-right: 20px;
}
	table.post1 tbody tr.reply td a {
		color: #000000;
	}
	table.post1 tbody tr.reply a.layer {
		color: #946845;
		float: left;
		padding-left: 25px;
	}
	table.post1 tbody tr.reply td img {
		vertical-align: middle;
		margin-right: 10px;
	}
table.post1 tbody tr.page td {
	background-color: #FAF1EA;
}
table.post1 tbody tr.null td {
	background-color: #FAF1EA;
	height: 37px;
	padding: 0;
}
table.post1 tr.page td {
	padding: 0;
	background-color: #FAF1EA;
	height: 37px;
	border: 1px #DEC49F solid;
	vertical-align: middle;
	padding-left: 20px;
}
table.post1 tfoot td {
	padding-top: 15px;
}
table.post2 {
	margin-top: 20px;
	width: 100%;
}
table.post2 thead th {
	background-color: #946644;
	height: 39px;
	color: #FFFFFF;
	text-align: center;
	vertical-align: middle;
	text-align: left;
	padding-left: 20px;
	font-size: 14px;
	border-left: 1px #946644 solid;
}
table.post2 tbody th, table.post2 tbody td {
	background-color: #FFFFFF;
	border: 1px #DEC49F solid;
	border-top: 0;
	padding: 15px;
}
table.post2 tbody th {
	font-size: 14px;
	vertical-align: top;
}
	table.post2 tbody th a {
		color: #956841;
	}
	table.post2 tbody th img {
		vertical-align: text-top;
		margin-left: 5px;
	}
	table.post2 tbody th span {
		font-size: 12px;
	}
	table.post2 tbody td label {
		margin-right: 10px;
		padding-bottom: 5px;
	}
	table.post2 tbody td label img {
		vertical-align: middle;
		margin-left: 5px;
	}
	table.post2 tbody td textarea {
		background-color: #FAF1EA;
		border: 1px #DEC49F solid;
		width: 564px;
		height: 168px;
	}
	table.post2 tbody td img {
		vertical-align: middle;
		margin-right: 10px;
	}
	table.post2 tbody td input.normal {
		background-color: #FAF1EA;
		width: 310px;
		height: 24px;
		border: 1px #DEC49F solid;
		margin-right: 10px;
	}
	table.post2 tbody td input.verif {
		width: 105px;
	}
	table.post2 tbody td span {
		margin-right: 10px;
	}
	table.post2 tbody td input.us {
		background: url(../images/public/upload_submit.jpg) no-repeat;
		width: 59px;
		height: 26px;
		cursor: pointer;
		border: 0;
	}
	table.post2 tbody td input.s {
		background: url(../images/public/post_submit.jpg) no-repeat;
		width: 94px;
		height: 26px;
		cursor: pointer;
		border: 0;
	}
	table.post2 tbody tr.narrow td {
		padding-top: 5px;
		padding-bottom: 5px;
	}

/* 控制面板 */
table.control1 {
	margin-top: 5px;
	width: 100%;
}
table.control1 thead td,
table.control1 tbody td,
table.control1 tbody th {
	background-color: #FFFFFF;
	border: 1px #E1C39F solid;
} 
table.control1 thead td {
	background-color: #FAF1EA;
}
table.control1 thead td {
	height: 37px;
	vertical-align: middle;
	font-size: 14px;
	padding-left: 40px;
}
table.control1 thead td a {
	padding: 0 20px;
	color: #6C4D39;
}
table.control1 tbody th {
	vertical-align: middle;
	color: red;
}
table.control1 tbody th img {
	margin-top: 5px;
}
table.control1-1 {
	width: 100%;
}
table.control1 tbody table.control1-1 td {
	border: 0;
	border-bottom: 1px #E1C39F solid; 
	vertical-align: middle;
	padding-left: 15px;
}
table.control1 tbody table.control1-1 th {
	border: 0;
	border-bottom: 1px #E1C39F solid; 
	border-right: 1px #E1C39F solid;
	color: #6C4D39; 
	text-align: right;
	padding-right: 10px;
	height: 37px;
	vertical-align: middle;
}
table.control2 {
	margin-top: 25px;
	width: 100%;
}
table.control2 td, table.control2 th {
	background-color: #FFFFFF;
	border: 1px #E1C39F solid;
	height: 37px;
	vertical-align: middle;
}
table.control2 thead td {
	background-color: #FAF1EA;
	vertical-align: middle;
	font-size: 14px;
	padding-left: 60px;
}
table.control2 tbody td {
	padding-left: 60px;
}

/* 修改基本信息 */
table.update-top {
	margin-top: 5px;
	width: 100%;
}
table.update-top td {
	background-color: #FAF1EA;
	vertical-align: middle;
	height: 37px;
	border: 1px #E1C39F solid;
	padding-left: 30px;
}
table.update1-h {
	margin-top: 30px;
}
table.update1-h th{
	padding-left: 30px;
}
table.update1 {
	width: 100%;
}
table.update1 tr.first th, table.update1 tr.first td {
	border-top: 0;
} 
table.update1 th, table.update1 td {
	background-color: #FFFFFF;
	border: 1px #E1C39F solid;
	padding: 5px 0;
}
table.update1 th {
	vertical-align: top;
	text-align: right;
	padding-right: 60px;
}
table.update1 td {
	padding-left: 15px;
}
table.update1 td span {
	margin-left: 10px;
}
table.update1 td input.normal, table.update1 td select.normal, table.update1 td textarea.normal {
	background-color: #FAF1EA;
	border: 1px #DDC5A1 solid;
	color: #754C38;
}
table.update1 td input.normal {
	width: 150px;
	padding: 2px;
}
table.update1 td select.normal {
	width: 156px;
	padding: 2px 0;
}
table.update1 tr.last td {
	padding-top: 10px;
	border: 0;
	background: none;
}
table.update1 tr.last td input.s, table.update1 tr.last td input.back {
	width: 59px;
	height: 26px;
	cursor: pointer;
	margin-right: 10px;
	border: 0;
}
table.update1 tr.last td input.s {
	background: url(../images/control/save.jpg) no-repeat;
}
table.update1 tr.last td input.back {
	background: url(../images/control/goback.jpg) no-repeat;
}

/* 修改密码 */
table.password1 th {
	padding-right: 15px;
}

/* 论坛指南 */
table.rule1 {
	width: 100%;
	border: 1px #DEC49F solid;
}
table.rule1 td {
	height: 47px;
	vertical-align: middle;
	padding-left: 15px;
	font-size: 18px;
}
table.rule1 td  img {
	margin-right: 10px;
}
.rulecont {
	margin-top: 50px;
	width: 100%;
}
.rulecont p {
	padding-bottom: 20px;
}
.rulecont ul {
	padding-bottom: 20px;
	margin-left: 20px;
}
.rulecont ul li {
	margin-bottom: 3px;
}
.rulefoot {
	margin-top: 10px;
	height: 40px;
	border-top: 1px #DEC49F solid;
	border-bottom: 1px #DEC49F solid;
	text-align: right;
	line-height: 40px;
}
.rulefoot a {
	padding: 0 10px;
	color: #6E4C33;
}

/* 我的好友 */
table.friend1 {
	margin-top: 45px;
	width: 100%;
}
table.friend1 td {
	background-color: #FFFFFF;
	text-align: center;
	height: 37px;
	vertical-align: middle;
	border: 1px #DBC39F solid;
}
table.friend1 thead td {
	background-color: #FAF1EA;
}
table.friend1 thead td.last {
	text-align: left;
	padding-left: 75px;
}
table.friend1 tbody td.last {
	padding-left: 50px;
	text-align: left;
}
table.friend1 tbody td  a {
	color: #6E4C33;
	padding: 0 5px;
}
table.friend1 tfoot td {
	background: none;
	border: 0;
	text-align: left;
}

/* 未读信息 */
table.unread1-h {
	margin-top: 30px;
}
table.unread1-h th {
	padding-left: 30px;
}
table.unread1-h img {
	margin-left: 10px;
}
table.unread1 {
	width: 100%;
}
table.unread1 td {
	background-color: #FFFFFF;
	border: 1px #D8C9A2 solid;
	height: 37px;
	vertical-align: middle;
	text-align: center;
}
table.unread1 thead td {
	background-color: #FAF1EA;
}
table.unread1 tbody td a {
	padding: 0 5px;
	color: #6E4C33; 
}
table.unread1 tfoot td {
	background: none;
	border: 0;
	text-align: left;
	padding-left: 20px;
}

/* 写信 */
table.write1 {
	width: 100%;
}
table.write1 th, table.write1 td {
	padding: 5px 0;
	background-color: #FFFFFF;
	border: 1px #DEC49F solid;
}
table.write1 td {
	padding-left: 15px;
}
table.write1 td span {
	margin-left: 10px;
}
table.write1 th {
	vertical-align: top;
	text-align: right;
	padding-right: 20px;
}
table.write1 tr.first th, table.write1 tr.first td {
	border-top: 0;
}
table.write1 td input.normal, table.write1 td select.normal, table.write1 td textarea.normal {
	background-color: #FAF1EA;
	border: 1px #DDC5A1 solid;
	color: #754C38;
	padding: 2px;
}
table.write1 tr.last td input.s, table.write1 tr.last td input.back {
	width: 59px;
	height: 26px;
	cursor: pointer;
	margin-right: 10px;
	border: 0;
}
table.write1 tr.last td input.s {
	background: url(../images/message/send.jpg) no-repeat;
}
table.write1 tr.last td input.back {
	background: url(../images/message/goback.jpg) no-repeat;
}
table.write1 tr.last td {
	background: none;
	border: 0;
	text-align: right;
}

/* 在线用户 */
table.online1 {
	margin-top: 20px;
	width: 100%;
}
table.online1 th {
	background-color: #FAF1EA;
	height: 37px;
	padding-left: 40px;
	vertical-align: middle;
	font-size: 14px;
	text-align: left;
}
table.online1 th, table.online1 td {
	border: 1px #DEC49F solid;
}
table.online1 td {
	background-color: #FFFFFF;
	padding: 15px 40px;
}
table.online1 td p {
	margin-bottom: 15px;
} 
table.online1 td p img {
	vertical-align: middle;
	margin-right: 10px;
}
table.online1 td p span {
	margin-right: 20px;
}
table.online1 td a {
	color: #6E4C33; 
}
table.online2 td {
	font-size: 14px;
}
table.online2 td p span {
	margin-right: 100px;
}